<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.view.*" %>
<%@ page import="java.security.*" %>

<%@page pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>

<%
	Principal principal = request.getUserPrincipal();
	String userName = null;
	
	if (principal != null) {
		userName = principal.getName();
	}
	
	User user = User.get(userName);
	
	MonthsDisplay monthsDisplay = new MonthsDisplay();

%>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta name="ROBOTS" content="NOINDEX"></meta>
	<title>View Threads in a Month</title>
	<link rel="stylesheet" type="text/css" href="<%= Configuration.getInstance().getRoot() %>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>">
</head>

<body>

	<%= MainMenu.display(request.getUserPrincipal(), Page.SEARCH) %>

	<div class="headingblock">
		<h1>View Threads Created in a Month</h1>
	</div>

	<div class="mainblock">
		<%= monthsDisplay.getMonths(user) %>
	</div>

	<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
	<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 

</body>
</html>
